package main

import "fmt"

func myPrint(args ...interface{}) {
	for _, arg := range args {
		switch arg.(type) {
		case int:
			fmt.Println(arg, " is an int value")
		case string:
			fmt.Println(arg, " is a string value")
		case int64:
			fmt.Println(arg, " is an int64 value")
		default:
			fmt.Println(arg, " is an unknown type")
		}
	}
}

func main() {
	var v1 = 1
	var v2 int64 = 234
	var v3 = "hello"
	var v4 = 1.2

	myPrint(v1, v2, v3, v4)
}
